const dynamicMenuRoutes = [
  // {
  //   meta: {
  //     menuId: "2_0",
  //     title: "分账开通",
  //     isDynamic: true,
  //     isTab: true,
  //     iframeUrl: "",
  //   },
  //   name: "shop-siteList",
  //   path: "shop-siteList",
  // },
];
const getRouters = [
  {
    name: "/",
    path: "//",
    hidden: false,
    redirect: "noRedirect",
    component: "Layout",
    alwaysShow: true,
    meta: {
      title: "设备管理",
      icon: "button",
      noCache: false,
    },
    children: [
      {
        component: "Layout",
        hidden: false,
        meta: {
          title: "设备列表",
          icon: "checkbox",
          noCache: false,
        },
        name: "deviceManage/deviceList",
        path: "deviceManage/deviceList",
      },
    ],
  },
  {
    name: "/",
    path: "//",
    hidden: false,
    redirect: "noRedirect",
    component: "Layout",
    alwaysShow: true,
    meta: {
      title: "记录管理",
      icon: "button",
      noCache: false,
    },
    children: [
      {
        component: "Layout",
        hidden: false,
        meta: {
          title: "升级记录",
          icon: "checkbox",
          noCache: false,
        },
        name: "recordManage/SUCCESSUpgradeHistory",
        path: "recordManage/SUCCESSUpgradeHistory",
      },
      {
        component: "Layout",
        hidden: false,
        meta: {
          title: "升级中-记录",
          icon: "checkbox",
          noCache: false,
        },
        name: "recordManage/UpgradeHistory",
        path: "recordManage/UpgradeHistory",
      },
    ],
  },
];

export { dynamicMenuRoutes, getRouters };
